package src.actors 
{
	import flash.display.MovieClip;
	import flash.geom.Point;
	/**
	 * ...
	 * @author Morozov
	 */
	public class Actor extends MovieClip
	{
		public var velocity:Point;
		public var px, py:Number;
		public var top, bottom, left, right, cnt, pleft, pright :int;
		public var onGround:Boolean;
		
		public function Actor() 
		{
			velocity  = new Point();
			px = 0; py = 0;
		}	
		public function updatePosition()
		{
			this.velocity.x *= 0.9;
			this.velocity.y += 0.8;
			
			this.px += velocity.x;
			this.py += velocity.y;
		}
		
	}

}